StoreKeeper\WooCommerce\B2C\Imports\CouponCodeImport S

Total Complexity 43
Dependencies 9
Dependents 3
Total lines 283
Lines of code 170
Logical lines of code 92
Comment lines 20
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
makeMissingCouponPrivate()
S
62 5 11
updateCouponCode()
S
62 3 12
getCouponCodeByStorekeeperId()
S
57 2 17
getCategoryTermIds()
S
64 3 10
__construct()
S
67 3 7
applyCouponProperties()
S
56 1 17
getCouponExpireDate()
S
67 2 8
processItem()
S
67 2 8
createCouponCode()
S
66 2 8
getCouponType()
S
66 2 8
getCouponCodeDateFormatted()
S
77 2 3
getCouponAmount()
S
67 2 8
getFilters()
S
65 2 10
getLanguage()
S
82 1 3
afterRun()
S
82 1 3
getCouponExcludedCategoryIds()
S
75 1 4
getCouponIncludedCategoryIds()
S
75 1 4
applyExpireDate()
S
76 1 4
getSanitizedFilteredEmails()
S
77 1 3
getModule()
S
82 1 3
applyExcludedCategories()
S
76 1 4
applyIncludedCategories()
S
76 1 4
applyType()
S
76 1 4
getFunction()
S
82 1 3
applyAmount()
S
76 1 4